package week7;

public class PP0901 {
    public static void main(String[] args) {
        MonetaryCoin m = new MonetaryCoin(1);
        m.addCoin(5);
        m.addCoin(10);
        m.addCoin(1);
        m.addCoin(10);

        System.out.println(m.getList());

        System.out.println(m.getCoin(0));

        System.out.println(m.getCoin(1));

    }
}
